package com.yhk.wuchat.common.common.event;

import com.yhk.wuchat.common.user.domain.entity.User;
import com.yhk.wuchat.common.user.service.impl.UserServiceImpl;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import org.springframework.test.context.event.ApplicationEvents;

/**
 * @version 1.0
 * @Author moresuo
 * @Date 2024/4/17 21:53
 * @注释
 */
@Getter
public class UserBlackEvent extends ApplicationEvent {

    private User user;

    public UserBlackEvent(Object source,User user) {
        super(source);
        this.user=user;
    }
}
